from odoo import fields, models


class PrintRecord(models.Model):
    _name = 's.print.record'
    _description = 'Print Record'

    model_name = fields.Char('model name', copy=False, index=True)
    record_id = fields.Integer('Record ID', copy=False, index=True)
    user_id = fields.Many2one('res.users', string='Print User', copy=False)
    print_template_name = fields.Char('Print Template Name')